[INFO] cloning repository https://github.com/krishna4040/rusting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krishna4040/rusting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2Frusting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2Frusting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bdb975685dacf279de539ef5a99b211ee7b3c65b
[INFO] fixing krishna4040/rusting against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2Frusting" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krishna4040/rusting
[INFO] finished tweaking git repo https://github.com/krishna4040/rusting
[INFO] tweaked toml for git repo https://github.com/krishna4040/rusting written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krishna4040/rusting on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krishna4040/rusting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471
[INFO] running `Command { std: "docker" "start" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `api`
[INFO] [stdout]    --> src/main.rs:333:1
[INFO] [stdout]     |
[INFO] [stdout] 333 | mod api;
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: to create the module `api`, create file "src/api.rs" or "src/api/mod.rs"
[INFO] [stdout]     = note: if there is a `mod api` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0255]: the name `io` is defined multiple times
[INFO] [stdout]    --> src/main.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 158 | mod io;
[INFO] [stdout]     | ------- previous definition of the module `io` here
[INFO] [stdout] ...
[INFO] [stdout] 181 | use std::io::{self, Read};
[INFO] [stdout]     |               ^^^^ `io` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `io` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]     |
[INFO] [stdout] 181 | use std::io::{self as other_io, Read};
[INFO] [stdout]     |                    +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> src/main.rs:148:16
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn dangle() -> &String {
[INFO] [stdout]     |                ^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn dangle() -> &'static String {
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]     |
[INFO] [stdout] 148 - fn dangle() -> &String {
[INFO] [stdout] 148 + fn dangle() -> String {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `api`
[INFO] [stdout]    --> src/main.rs:333:1
[INFO] [stdout]     |
[INFO] [stdout] 333 | mod api;
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: to create the module `api`, create file "src/api.rs" or "src/api/mod.rs"
[INFO] [stdout]     = note: if there is a `mod api` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0255]: the name `io` is defined multiple times
[INFO] [stdout]    --> src/main.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 158 | mod io;
[INFO] [stdout]     | ------- previous definition of the module `io` here
[INFO] [stdout] ...
[INFO] [stdout] 181 | use std::io::{self, Read};
[INFO] [stdout]     |               ^^^^ `io` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `io` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]     |
[INFO] [stdout] 181 | use std::io::{self as other_io, Read};
[INFO] [stdout]     |                    +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> src/main.rs:148:16
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn dangle() -> &String {
[INFO] [stdout]     |                ^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn dangle() -> &'static String {
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]     |
[INFO] [stdout] 148 - fn dangle() -> &String {
[INFO] [stdout] 148 + fn dangle() -> String {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `front_of_house` in `module_2`
[INFO] [stdout]   --> src/module_1.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |     crate::module_2::front_of_house::hosting::add_to_waitlist();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ could not find `front_of_house` in `module_2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::module_1::front_of_house::hosting;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `hosting`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 17 -     crate::module_2::front_of_house::hosting::add_to_waitlist();
[INFO] [stdout] 17 +     hosting::add_to_waitlist();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::type_name`
[INFO] [stdout]    --> src/main.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | use std::any::type_name;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]    --> src/main.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 181 | use std::io::{self, Read};
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]    --> src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | use std::num::ParseIntError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `front_of_house` in `module_2`
[INFO] [stdout]   --> src/module_1.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |     crate::module_2::front_of_house::hosting::add_to_waitlist();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ could not find `front_of_house` in `module_2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::module_1::front_of_house::hosting;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `hosting`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 17 -     crate::module_2::front_of_house::hosting::add_to_waitlist();
[INFO] [stdout] 17 +     hosting::add_to_waitlist();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::type_name`
[INFO] [stdout]    --> src/main.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | use std::any::type_name;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]    --> src/main.rs:181:15
[INFO] [stdout]     |
[INFO] [stdout] 181 | use std::io::{self, Read};
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]    --> src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | use std::num::ParseIntError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:243:29
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let n = example_closure(5);
[INFO] [stdout]     |             --------------- ^ expected `String`, found integer
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: expected because the closure was earlier called with an argument of type `String`
[INFO] [stdout]    --> src/main.rs:242:29
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let s = example_closure(String::from("hello"));
[INFO] [stdout]     |             --------------- ^^^^^^^^^^^^^^^^^^^^^ expected because this argument is of type `String`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             in this closure call
[INFO] [stdout] note: closure parameter defined here
[INFO] [stdout]    --> src/main.rs:241:28
[INFO] [stdout]     |
[INFO] [stdout] 241 |     let example_closure = |x| x;
[INFO] [stdout]     |                            ^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let n = example_closure(5.to_string());
[INFO] [stdout]     |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:243:29
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let n = example_closure(5);
[INFO] [stdout]     |             --------------- ^ expected `String`, found integer
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: expected because the closure was earlier called with an argument of type `String`
[INFO] [stdout]    --> src/main.rs:242:29
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let s = example_closure(String::from("hello"));
[INFO] [stdout]     |             --------------- ^^^^^^^^^^^^^^^^^^^^^ expected because this argument is of type `String`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             in this closure call
[INFO] [stdout] note: closure parameter defined here
[INFO] [stdout]    --> src/main.rs:241:28
[INFO] [stdout]     |
[INFO] [stdout] 241 |     let example_closure = |x| x;
[INFO] [stdout]     |                            ^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let n = example_closure(5.to_string());
[INFO] [stdout]     |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&Mysmartpointer`
[INFO] [stdout]   --> src/smart_pointers.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |         &self.0
[INFO] [stdout]    |               ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&mut Mysmartpointer`
[INFO] [stdout]   --> src/smart_pointers.rs:50:66
[INFO] [stdout]    |
[INFO] [stdout] 50 |         println!("Dropping Mysmartpointer with data `{}`!", self.0);
[INFO] [stdout]    |                                                                  ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut z = 5; // declared mutable, can change value
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let y = 7; // declared imutable, cannot change value
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut z = 5; // declared mutable, can change value
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decimal`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let decimal: i32 = 87_22;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hex`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let hex: i32 = 0xff;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oct`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let oct: i32 = 0o66;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_oct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bin`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let bin: i32 = 0b1100;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let byte: u8 = b'A';
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a1`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let a1 = tup.0;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let a2 = tup.1;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a3`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let a3 = tup.2;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let first = a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let second = a[1];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let s = "string";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let s = "hello"; // s is valid from this point forward
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sr` is never read
[INFO] [stdout]    --> src/main.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut sr = String::from("hello");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 109 |     sr = String::from("ahoy");
[INFO] [stdout]     |     -- `sr` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&Mysmartpointer`
[INFO] [stdout]   --> src/smart_pointers.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |         &self.0
[INFO] [stdout]    |               ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&mut Mysmartpointer`
[INFO] [stdout]   --> src/smart_pointers.rs:50:66
[INFO] [stdout]    |
[INFO] [stdout] 50 |         println!("Dropping Mysmartpointer with data `{}`!", self.0);
[INFO] [stdout]    |                                                                  ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut z = 5; // declared mutable, can change value
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `subject`
[INFO] [stdout]   --> src/oops.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let subject = AlwaysEqual;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let y = 7; // declared imutable, cannot change value
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut z = 5; // declared mutable, can change value
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decimal`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let decimal: i32 = 87_22;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hex`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let hex: i32 = 0xff;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oct`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let oct: i32 = 0o66;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_oct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bin`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let bin: i32 = 0b1100;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let byte: u8 = b'A';
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let (a, b, c) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a1`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let a1 = tup.0;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let a2 = tup.1;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a3`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let a3 = tup.2;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let first = a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let second = a[1];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let s = "string";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let s = "hello"; // s is valid from this point forward
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sr` is never read
[INFO] [stdout]    --> src/main.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut sr = String::from("hello");
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 109 |     sr = String::from("ahoy");
[INFO] [stdout]     |     -- `sr` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `msg`
[INFO] [stdout]   --> src/oops.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Message::Write(text) => println!("Text message: {}", text),
[INFO] [stdout]    |                        ---- value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 96 |     if let Message::Write(text) = &msg {
[INFO] [stdout]    |                                   ^^^^ value borrowed here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because value has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Message::Write(ref text) => println!("Text message: {}", text),
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `subject`
[INFO] [stdout]   --> src/oops.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let subject = AlwaysEqual;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `msg`
[INFO] [stdout]   --> src/oops.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Message::Write(text) => println!("Text message: {}", text),
[INFO] [stdout]    |                        ---- value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 96 |     if let Message::Write(text) = &msg {
[INFO] [stdout]    |                                   ^^^^ value borrowed here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because value has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Message::Write(ref text) => println!("Text message: {}", text),
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/smart_pointers.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil))))));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0255, E0308, E0382, E0433, E0583, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/smart_pointers.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil))))));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (bin "rust") due to 8 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0106, E0255, E0308, E0382, E0433, E0583, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (bin "rust" test) due to 8 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471", kill_on_drop: false }`
[INFO] [stdout] 7a0293d03c0c3f69f84f172d8c14171bfccc10adb648330db59daafe6efd7471
